package com.antdesignbackend.backend.information.mechanism.mapper;

import com.antdesignbackend.backend.information.mechanism.entity.Mechanism;
import com.antdesignbackend.backend.information.mechanism.entity.entityVo.MechanismVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;


/**
 * 录入机构
 * @author 不二
 * @email jack.com
 * @date 2020-09-18 14:04:59
 */
@Component
public interface MechanismMapper extends BaseMapper<Mechanism>{
    List<MechanismVo> search(@Param(Constants.WRAPPER) QueryWrapper<MechanismVo> queryWrapper, Page<MechanismVo> page);
    Integer count(@Param(Constants.WRAPPER) QueryWrapper<MechanismVo> queryWrapper);
}
